package org.springblade.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("flowers")
public class Flowers implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "花卉名称")
	private String name;

	@ApiModelProperty(value = "花卉颜色")
	private String color;

	@ApiModelProperty(value = "花卉图片")
	private String image;

	@ApiModelProperty(value = "花卉价格")
	private Integer price;

	@ApiModelProperty(value = "创建时间")
	private String creatTime;

	@ApiModelProperty(value = "花卉类型")
	private Integer fid;

	@ApiModelProperty(value = "查询条件的开始时间")
	private String beginTime;

	@ApiModelProperty(value = "查询条件的结束时间")
	private String endTime;

	@ApiModelProperty(value = "花卉类型实体")
	private FlowerType flowerType;

}
